﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using University.Workshop.Model;
using University.Workshop.DataAccess;
using System.Data;

namespace University.Workshop.Business
{
    public static class TreatmentManager
    {
        public static bool NewTreatmentPatient(Treatment treatment, GeneralTreatment generalTreatment, ToothTreatment toothTreatment) 
        {
            return TreatmentDataAccess.InsertNewTreatment(treatment, generalTreatment,toothTreatment);
        }

        public static DataTable LoadDataGridViewTreatmentOfTheSelectedAppointment()
        {
            return TreatmentDataAccess.LoadDataTreatmentOfTheSelectedAppointment();
        }
    }
}
